﻿using System.Collections.Generic;
using GalaSoft.MvvmLight;
using LiSAClient.Core.Models;

namespace LiSAClient.WpfClient.ViewModel.Frame
{
    public class MetaInfoBarViewModel : ViewModelBase
    {
        public MetaInfoBarViewModel()
        {
            this.MetaInfos = new List<MetaInfo>();
            this.IsVisible = false;
        }

        private List<MetaInfo> metaInfos;

        public List<MetaInfo> MetaInfos
        {
            get
            {
                return this.metaInfos;
            }

            set
            {
                this.Set(() => this.MetaInfos, ref metaInfos, value);
            }
        }

        private bool isVisible;

        public bool IsVisible
        {
            get
            {
                return this.isVisible;
            }

            set
            {
                this.Set(() => this.IsVisible, ref this.isVisible, value);
            }
        }
    }
}
